console.log([] instanceof Array);// true
console.log([] instanceof Object); // true

function Person() {};
const person = new Person();

console.log(person instanceof Person); // true
console.log(person instanceof Object); // true